package tbs.framework.async.task.container.impl

import tbs.framework.async.container.IAsyncTaskBroker
import tbs.framework.async.container.IAsyncTaskService
import tbs.framework.async.container.model.AsyncTaskDetail

class SimpleTaskExecutor : IAsyncTaskBroker {
    override fun onTaskFinish(
        task: AsyncTaskDetail,
        service: IAsyncTaskService
    ) {

    }

    override fun beforeExecute(
        task: AsyncTaskDetail,
        service: IAsyncTaskService
    ) {

    }

    override fun afterExecute(
        task: AsyncTaskDetail,
        service: IAsyncTaskService
    ) {

    }

    override fun onTaskFail(
        task: AsyncTaskDetail,
        service: IAsyncTaskService,
        e: Throwable,
        state: IAsyncTaskBroker.TaskState?
    ) {
    }
}